/**
 * @Title: IssueService.java 
 * @Description: TODO
 * @author <a href="mailto:psammead@126.com">Psammead</a>
 * @date 2011-7-16 下午03:39:27 
 * @version 1.0
 * Copyright 2011 by Psammead
 */
package com.psammead.dms.project.service;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

import com.psammead.dms.common.core.bo.Page;
import com.psammead.dms.project.entity.Issue;

/**
 * @ClassName: IssueService
 * @Description: TODO
 * @author <a href="mailto:psammead@126.com">psammead</a>
 * @version 1.0
 * @date 2011-7-16
 */
public interface IssueService {

	public void addIssue(Issue issue);
	
	public void updateIssue(Issue issue);
	
	public Issue getIssue(long id);
	
	public void deleteIssue(long id);
	
	public List<Issue> queryIssue(Map<String,Object> paramMap,
			LinkedHashMap<String, String> sortMap);

	public Page<Issue> queryIssue(Map<String,Object> paramMap,
			LinkedHashMap<String, String> sortMap, int pageNo, int pageSize );
}
